/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DBLayer;

import ModelLayer.Invoice;
import java.util.ArrayList;

/**
 *
 * @author DM72-GRP2
 */
public interface IFDBInvoice {

    // get all Invoice
    public ArrayList<Invoice> getAllInvoice();
    //finde by No
    public Invoice searchInvoiceNo(int invNo);
    //Insert Invoice
    public int insertInvoice(Invoice inv);
    //update information about an Invoice
    public int updateInvoice(Invoice inv);
    //delete Invoice
    public int deleteInvoice(int invNo);
}
